A novel skin cancer detection model using modified finch deep CNN classifier model

Skin cancer is one of the most life-threatening diseases caused by the abnormal growth of the skin cells, when exposed to ultraviolet radiation. Early detection seems to be more crucial for reducing aberrant cell proliferation because the mortality rate is rapidly rising. Although multiple researches are available based on the skin cancer detection, there still exists challenges in improving the accuracy, reducing the computational time and so on. In this research, a novel skin cancer detection is performed using a modified falcon finch deep Convolutional neural network classifier (Modified Falcon finch deep CNN) that efficiently detects the disease with higher efficiency. The usage of modified falcon finch deep CNN classifier effectively analyzed the information relevant to the skin cancer and the errors are also minimized. The inclusion of the falcon finch optimization in the deep CNN classifier is necessary for efficient parameter tuning. This tuning enhanced the robustness and boosted the convergence of the classifier that detects the skin cancer in less stipulated time. The modified falcon finch deep CNN classifier achieved accuracy, sensitivity, and specificity values of 93.59%, 92.14%, and 95.22% regarding k-fold and 96.52%, 96.69%, and 96.54% regarding training percentage, proving more effective than literary works.

Since according estimates on disease released by the American Cancer Society, the fatality rate for patients with skin cancer can reach 75% 1,2 and the incidence of melanoma, which increases the fatality rate, is still rising at 14% 3 .Skin cancer is one of the cancer types with a high mortality rate and takes place throughout every phase of life 4 .Everywhere in the trillions of cells that make up the human anatomy, cancer can develop.In cancer, somebody cell divisions begin without being blocked, and these cells disseminate into the tissues around them.According to the needs of the body, human cells typically multiply and divide to create new ones 5,6 .The World Health Organization (WHO) estimates that such of all cancers diagnosed globally are skin cancers 7,8 .Dermatologists examine skin lesions for skin cancer, evaluate the patient's clinical data, and classify the lesions based on their experience 9,10 .Malignant and benign tumors are the two types of tumors that cancer can cause.Malignant tumors are those that primarily contain cancerous cells.Malignancy denotes a cell's ability to invade or spread to nearby tissues.Once a benign tumor is removed, it cannot return, whereas a malignant tumor can return after surgery.Although many benign tumours within many organs in the human body are normally not hazardous, the benign tumour in the brain can be dangerous to life 11 .
A confined, early-stage malignant skin tumor has a 99% 5-year survival rate, but if the tumor spreads to other body areas, the survival rate drops to 20% [12][13][14] .It can occasionally be found in a variety of dark hues.Moreover, it might appear in the skin as rose pink, azure, royal purple, or even be colorless 15,16 .Due to its rapid spread, it is more lethal and damaging.Melanoma can be found anywhere on the human body, despite the fact that all frequently manifests on the lower limb's back 17 .Skin genetic risk factors can be reduced by detecting a person's skin cancer at an early stage 18 .Several radar systems have been built for clinical application, including the diagnosis of breast cancer 19,20 , the accurate measurement of respiration 21,22 , the calculation of blood pressure [23][24][25] , and the detection of glucose levels 26,27 .The discrepancy between melanomas' electrical characteristics and those of 1.Multiple researches are available based on the skin cancer detection, however there still exists challenges in improving the accuracy, reducing the computational time.The major objective of this research is to accurately predict skin cancer using a modified falcon finch deep CNN classifier cancer in less stipulated time with reduced latency.2. A novel skin cancer detection is performed using a modified falcon finch deep Convolutional neural network classifier (Modified Falcon finch deep CNN) that efficiently detects the disease with higher efficiency.3. Tuning enhanced the robustness and boosted the convergence of the classifier that detects the skin cancer in less stipulated time.The modified falcon finch deep CNN classifier achieved accuracy, sensitivity, and specificity values of 93.59%, 92.14%, and 95.22% regarding k-fold and 96.52%, 96.69%, and 96.54% regarding training percentage, proving more effective than literary works.4.This analysis is enabled for proving the superiority of the falcon finch deep CNN over the other existing methods and then comparative methods used in the research are K-Nearest neighbour, Decision Tree, Random Forest, Support Vector Classifier, Deep CNN, HHO deep CNN, SSA deep CNN.
The paper is organized in the manner as follows, the existing researches along with their novel methodologies, their advantages and disadvantages are described in Section "Literature review".The novel framework developed in this research is explained detail in Section "Materials and methods" along with the mathematical modelling of the modified falcon finch optimization algorithm is also detailed.The output obtained by the model is described detail along with the parameter details in Section "Experimentation, results and analysis" and at last section "Conclusion and future scope" concludes the paper with future scope.

Motivation
Skin cancer is an emerging disease that are spreading in a higher rate and over 9500 people are diagnosed every day and is considered to be the 13 th most cancer occurs that occurs in men and 15th most cancer occurs in women.The impacts of this skin cancer include threatening of life as well as major financial losses.These impacts could be greatly reduced if the disease is identified at an earlier time.The existing methods possessed some difficulties due to high dimensional data, required large memory resources for the computation, asymmetry data, interclass variance, lack of information about training the classifier and so on.Hence there is a need for the development of novel framework for further improving the efficiency.Figure 1 schematically depicts the fundamental techniques developed in the diagnosis of skin cancer.
The major objective of this research is to accurately predict skin cancer using a modified falcon finch deep CNN classifier.The collected data is retrieved from the standard repository, and the aggregated data is kept in the device, where the corresponding users can access it.The preprocessing is done, and the characteristics required for skin cancer diagnosis are extracted, and then the modified falcon finch deep CNN classifier is used to detect the existence of skin cancer disease.The supremacy of the research is measured using the parameter metrics and is compared with the existing works.The significant contributions of the investigation are presented below.

Falcon finch optimization algorithm:
The Harris Hawk Optimization (HHO) 40 and Sparrow Search Optimization (SSO) 41 are frequently combined to create the falcon finch optimization.where the foraging characteristics of the finches are enhanced using the perching behavior of the falcon.The communication capability and the energy consumption of the finches is not efficient, which tends to fall to local optimum and is avoided by enhancing the communicative behavior from the falcons that helps in finding robust optimal solutions.

Literature review
The various literature works enabled based on skin cancer are reviewed and the observations are interpreted as follows, Pacheco and Krohling resolved the problems of composing images and extraction of the metadata features using a meta block that helps in the effect classification of skin cancer.The performance was improved due to the metadata enabled and provided better results in statistical test as well as balanced accuracy.The method provided more stability but there is a further need to improve the model to obtain more accurate results.
Wei et al. detected the lesions in the dermoscopy images using a lightweight network, where the features are effectively extracted using the CNN.A fusion strategy was applied to the extraction of the discriminative lesions that assist in enhanced performance.The method achieved high precision and the segmentation accuracy was also improved.Due to the limitation in the data, there is an excavation in extracting the discriminative features.
Ashraf et al. detected skin cancer by a novel framework developed relying on transfer learning.The method mainly focused on melanoma due to the fact that the mortality is high due to the cancer caused by melanoma.The method effectively identified the normal region and the melanoma-affected region, and the data imbalance issues were also avoided by enabling of the augmentation techniques.This method provided optimum results when the RoI was given, but when the full image was applied there is considerably low metrics values.
Khan et al. 42 classified the skin lesion in the images and then the localization and segmentation was carried out.The binary images are fused with the layers in the 16-layered CNN model and then the segmentation was carried out using a contrast transform model.The redundancy in the model was eliminated by the downsampling.The method consumed more time for the recognition of the lesions, which could be reduced for further efficiency.
Hemsi et al. 43 differentiated different kinds of moles and identified cancer using a deep learning framework.The method worked well even when there is heterogeneity and could able to detect from the retrained images.This method enhanced the detection performance and achieved lower false negatives.The method required fewer computational resources but initiated difficulties to resolve the issues of interclass variance.
Garg et al. 44 detected and classified the skin cancer using the deep CNN, and the enabling of multiple augmentation techniques.The method eliminated the noise and improved the resolution of the image to a greater extent.The optimal training time and the augmentation of images effectively classified the disease.The research doesn't provide a comprehensive interpretation of the training provided to the classifier.www.nature.com/scientificreports/Zhang et al. 45 diagnosed the skin cancer using an optimized CNN and enabled the whale optimization for boosting the performance of the classifier.The difference between the network's actual response and the target value was lessened through multilayer perception modeling and gradient descent.The method provided better results but the comprehensibility should be further more needs enhancement.
Mansutti et al.A probe was designed that detected skin cancer in early stage.The dielectric substrate was used on the probe that provided accurate matching on the skin this can be used in the tool that can extract the correct affected images.This method is easily accessible due to cost, and mass production possibility.This method has more computational complexity.
Giulia et al.The skin lesions were detected using the global methods and the second system used a classifier names bag-of-features the color and texture features were used for lesion classification.This method achieved better results when color feature was used alone.
For skin cancer identification the identification of the epidermis area was important that is performed using watershed segmentation by Barata, C et al. from the segmented image GLCM and ABCD rules were used for feature extraction.Then the extracted features were classified using an SVM classifier.The SVM is non-linear and non-parametric hence the operation is low.
The boundaries of skin lesions from digital images were detected by Murugan et al. 46 using partial-difference equations (PDE).Both anisotropic diffusion and contrast enhancement were used in preprocessing and the hair present in the images was removed using an preprocessing step called PDE-filter.This method is capable of covering a small area.
The skin lesion from different places was detected by Chung et al. using the colour histogram technique from dermoscopy images.This method included the capability of detecting the interior lesion regions.
Skin lesion detection involved two steps in Jaisakthi, et al. the illumination, hair, and rulers are removed using the segmentation technique called GrabCut algorithm.The color features are integrated with K-means clustering that improved the boundary segmentation and the Dice coefficient value is low.
A method was developed by Kumar et al. that classify the skin into cancerous and non-cancerous skin.The similar skin regions are separated using fuzzy C-means clustering.The image attribution was improved using the LBP and GLCM preprocessing techniques.The differential evolution algorithm was used in the ANN classifier and the parameter tuning takes more time.
The opposition-based learning and chaotic local search were combined with Harris Hawks optimization (HHO) by Pacheco and Krohling et al. that improved the performance of HHO that effectively solved the complication in feature selection.This does not cover a large area.
Lembhe et al. 47 integrate machine learning and in-depth-based reading segmentation algorithms for detecting skin cancer at an early stage.However, need to add more techniques to improve the performance.
Viknesh et al. 48designed hybrid models such as SVM-based and CNN-based methods for detecting skin cancer, the classification accuracy achieved SVM classifier is 86.6%, while the CNN is 91% with 100 epochs.Table 1 shows the literature review of existing methods.

Research gaps
Effectively optimizing the classifier and choosing the desired solution within less stipulated time possess challenges.The research should identify the skin cancer in less stipulated time with reduced latency and achieving this is a strenuous task.Although dermoscopy is a non-invasive diagnostic method that uses optic magnification to enable the visualization of morphologic traits that are not visible to the naked eye, correct diagnosis is www.nature.com/scientificreports/difficult and requires on sufficient training and expertise 2 .Data imbalance is a significant problem that can result in biased learning and have a detrimental effect on performance.The automatic detection of dermoscopy image lesions is difficult due to the complicated background and lesion features 3 .However, the higher model size also poses difficulties for future algorithmic applications; Eliminating over fitting problems is crucial since they have a direct impact on how accurately the malignant melanoma condition can be detected.While training lot of data there is a possibility of increase in the computational complexity of the classifier, which should be minimized to make it suitable for real time scenarios.This research proposes a modified Falcon finch deep CNN classifier, which improves the classification accuracy and reduces the computational time compared to the existing methods.However, the quality of the input gets improved by the usage of preprocessing, and the Resnet-101 and the statistical feature extractors are used to reduce the size of the feature vectors and the number of features in the feature vectors.Due to this, the time needed to train the model is reduced.Fine-tuning of hyperparameters in the classifier is provided by the proposed Falcon finch optimizer, and this improves the classification accuracy.

Dataset
The input images are collected from the skin cancer detection dataset, which consists of 1800 images of benign moles and 1497 images of moles that have been classified as malignant.The goal of this kernel is to develop a model that can visually categorize a mole into benign and malignant.The dataset is drawn from the ISIC (International Skin Image Collaboration) Archive.

Data pre-processing
The dataset is developed based on the two classes such as benign and malignant.Initially the essential libraries are imported and then the pictures are loaded and the dictionary of images are labelled and then the categorization of these labels are performed.The normalization function is enabled for normalizing the data and then the training and testing data is split and then the cross validation will be performed.

Data augmentation
The new data is extracted from the already present training data and this process helps the data perfectly ready for the experiment by eliminating the overfitting problems, resizing, cropping, and reshaping.In this paper, these steps are elaborated in Sections "Data pre-processing", and "Feature extraction".

Methods
The recent development in computer-aided diagnosis by analyzing medical images has become an advanced technique in both the technical field and medical fields.The proposed deep CNN is widely used because it reduces the image dimension without missing any of the details.Skin cancer is one of the diseases that cause high mortality, and the fine-grained variety in how skin lesions form makes it difficult to classify skin lesions automatically using images.The data collected from the standard repository consists of information of different patients, which is collected by connecting the IoT nodes to the patients.The collected information will be stored in the cloud for further preceding.

Proposed methodology
Skin cancer is one of the diseases that cause high mortality, and the fine-grained variety in how skin lesions form makes it difficult to classify skin lesions automatically using images.The main aim of this research is to detect the skin cancer using modified falcon finch deep boosted deep CNN classifier availing the skin cancer detection dataset 49 .

System model
The base station serves as the network's hub, distributing data from many sources to the destination.Through a data aggregation method, the base station's huge pool of acquired data is condensed for high-level analysis.Preprocessing is done on the aggregated data after it has been obtained.Feature extraction is utilized to extract the features needed for the detection of skin cancer disease, while preprocessing improves image quality by removing unneeded noise.Figure 2 provides a systematic representation of the proposed skin cancer diagnosis model.The feature extraction is carried out by extracting the Resnet 101 feature, statistical features, and features, which are then fed forward to the modified falcon finch deep CNN classifier that successfully predicts the presence of the skin disease.

Input
The standard skin cancer detection dataset 49 repository is used to gather the input image required for the identification of skin cancer.From the International Skin Image Collaboration Archive, the dataset is taken and the data is gathered from a variety of patients and stored in the base station, where communication is facilitated.The dataset contains a total of 3297 pictures, benign moles contain 1800 pictures and malignant classified moles contain 1497 pictures.

Data aggregation
A big pool of data is summarized through the process of data aggregation in order to conduct in-depth analysis.
At its most basic level, it entails gathering data from a variety of specified patients and organizing it into a more straightforward, and ease of use model and the aggregated data is represented using,

Data preprocessing
Fast NL Means Denoising preprocessing is utilized in this research which is used for suppressing noise, resizing and reshaping the image is performed in the preprocessing stage, which helps in improving the true quality of the image and is denoted by,

Feature extraction
The raw image is transformed into the useful numerical features through extracting the features, which is necessary for the illness identification.Here the Resnet 101 feature and the statistical features are used for the detection and the dimension of the used features is (1 × 109).

a) Resnet 101
Through an effort to alleviate the problems with gradient descent and to minimize the error, Resnet 101 features are extracted.Batch normalization is performed in the Resnet 101 that helps in normalizing the pixels and enhances the performance of the modified falcon finch deep CNN classifier.

b) Statistical feature
The statistical features help in reducing the dimension of the features and the learning capability of the modified falcon finch deep CNN classifier is also boosted by the statistical features and is given by, www.nature.com/scientificreports/i) Mean: The mean value is evaluated by performing the sum of pixels to the total number of pixels present in the image.
ii) Standard deviation: The measurement of the data's dispersion from the mean is measured and is given by, iii) Variance: The measure of variability of the pixels present in the image is evaluated using the variance and is given by, iv) Median: The determination of the center pixel present in the image is performed by median and is given by, v) Skewness: The measurement of the assymetric distribution of the image is given by skewness, which is given by, vi) Kurtosis: Kurtosis measures how peaked or flat the data are in relation to a normal distribution and is formulated using,

vii) Harmonic mean:
The color values of the pixels in the neighborhood replaces the color value of each pixel, which provides the relationship between the pixels and is given by,

viii) Geometric mean:
The geometric mean enhances the smoothness of an image and helps in reducing the distortion caused by noise and is formulated by, here, q denotes the number of images, and Z denotes the individual image.

Architecture and working of novel falcon finch deep CNN classifier
The modified falcon finch deep CNN classifier effectively analyzes the extracted features and helps in the prediction of the skin cancer.The extraction of high-level features helps in the robust determination and provides semantic information about the skin cancer.The CNN effectively extracts the features and converts the features to lower dimension without losing the originality.Figure 3 presents a schematic illustration of the modified falcon finch optimization.

Input layer
The falcon finch deep CNN classifier receives the characteristics obtained during the process of feature extraction as input.

Convolutional layer
The layer is made up of several filters, and one of those filters gathers all the data, convolves it, and then produces the feature map.The convolutional layer, which includes the classifier's weights and bias, lessens the issue of over fitting.

Maxpooling layer
The maximum values of the patches in the feature maps is determined using the maxpooling layer and performs down sampling operation.Training on a disproportionately of the small sample of the majority class samples is referred to as down sampling. (4) Vol:.( 1234567890

Fully connected layer
Each neuron in the simple layer of neurons known as the dense layer receives information from every cell in the layer below it.A dense layer is used to determine the presence of skin cancer based on the findings of the convolutional layers.The falcon finch optimizer is used to optimize the weights and bias in this layer, which speeds up convergence and uses less time.The parameter details of the deep CNN architecture are interpreted in Table 2.

Falcon finch optimization
Generally, CNN has some limitations, the major limitation of CNN is accuracy increases the number of layers in the CNN also increases.Hence vanishing gradient problem occurs due to this the complexity increases.To avoid this problem introduced the optimization which tunes the hyperlayers of CNN.The falcon finch optimization is developed using the characteristics of falcon and finches, which is used for determining the optimal solution.The attributes in the deep BiLSTM classifier should be tuned efficiently for the reduction of error and improving accuracy and here the optimization is performed by enhancing the foraging characteristics of the finches.The foraging of finches takes place randomly and there is a possibility of falling into local optimum along with that the energy consumed for the foraging is also considerably high.When the perching behavior of the falcon is hybridized with the finches the energy consumption gets reduced, communication between the individuals is enhanced, which results in optimized output.

Inspiration of falcon finch optimization
The Falcon Finch Optimization (FFO) algorithm is initiated by mimicking the characteristic of finch (Sparrows) by availing their searching behavior that aids in determining the perfect solution.Normally, the foraging behavior of finch birds involves two categories of features that are producer and scrounger.The producer has a high level of energy for detecting food and providing information to all the scroungers for the foraging direction of food.www.nature.com/scientificreports/When the finch bird detects the predator, it will make a chirp sound to alert everyone for moves to the safest place.The safe position is better than the previous position, the current position will be update it and gain more energy.The area inside with more energy they will acts as a producer, to achieve the best optimal value and improved the local optimum position of the scroungers.Similarly, the hawk variety that named as falcon which has an intelligent power for attaining the best food and to enhance the accurate results for obtained finch outcomes of global best optimal solution.These two characters are introduced for attained the best outcomes of operation to determine the target solution.Similarly, the Falcon (Harris Hawk) posses' cooperative behavior with strong communication skills and the effecrtive perching behaviour, which helps in boosting the characteristics of finches.

Mathematical model of falcon finch optimization
The behavior of the finches is used for the adjusting of parameters in the classifier and the mathematical formulation of the behavior of finches is explained details in the below section.
Initialization stage.Initially, the population of the finches are initiated, which is used to determine the available solutions for the optimization and is mathematically represented by, here, l represents the count of finches in each position and s represents the dimension of the variables to be optimized.
Fitness evaluation.After initiating the position, the fitness function of each finchis evaluated based on the below equation, where, H Y represent the fitness value of finches and the best finch is evaluated based on the foraging behavior.
Objective function.The best finch that forages for food based on the perching behaviour is considered to be the objective function in this algorithm.
Foraging stage.In FFO algorithm the best finches are considered as producers and they are responsible for determining the food for the scroungers.The producers determine the food and guides other finches for obtaining the food.Hence the producers search for the food in a large search space and the position update of the producer finch is mathematically represented by, In the above equation, the current iteration is designated by k in the dimension i = 1, 2, . . .s .Y k fin,i denotes the fin th sparrow in the dimension s during the iteration k.β depicts the random number and is in the range [0, 1] , N rand denotes the random number that follows the normal distribution, T represents a random number and depending upon the T and alarm value P alarm the position update takes place and the value of P alarm is assigned to be 0.5 .M denotes a matrix that consists of elements with the value 1 in the dimension 1 × s.
Protective stage.The safety of the finches is evaluated based on two conditions described below: T < 0.5 : This designates that there are no predators around the finches and they are in the safest position.T ≥ 0.5 : When the finches recognized a predator then this condition will occur and all the finches coordina- tively moves towards a safer place away from the predators.Accumulation stage.The scroungers obtain the food from the producers and again depending on the fitness function the best scrounger will obtain the food and other scroungers will wait for the next iteration for obtaining the food.The best scrounger continuously monitors for the food from the producers and when the producers appear the best scrounger suddenly fight and obtain the food.The position update of the scroungers is mathematically represented as, ( 13) where,Y k+1 opt represents the optimal solution obtained by the producers, the current worst solution is represented by the Y k worst designates the worst solution obtained during the iteration k and B + = B T BB T −1 and when the condition f > s 2 then the f th scrounger is considered to be starving for the food.
The finding of the food by the scroungers is improved by using the soft and hard besiege of falcons.When enabling this soft and hard besiege the weakest scrounger also has the capability to determine the best food, which shows that the optimal solution could be determined even in local optimum and the two different cases are described below.Here z is the parameter used to describe whether the scrounger is obtaining the food or not and the besiege of the finches is described by the parameter b .The value of T denotes type of besiege to be taken by the scroungers.
When the above condition is satisfied the soft besiege takes place and the scroungers will consume food through softbesiege and is expressed by, When the soft besiege occurs with rapid progressive dives then the next moves are evaluated using, here,Y k scr denotes the scrounger in the k th iteration, acts as an default constant that possess the value 0.5 , x is a parameter used as an constant, Y k avg represent the average of the individuals.Case 2: (T ≥ 0.5)&&(z ≥ 0.5).When the above condition is satisfied the hard besiege takes place and the scroungers will consume food through hard besiege and is expressed by, When the hard besiege occurs with rapid progressive dives then the next moves are evaluated using, Novel perching stage.The producer finches need lots of energy and time for foraging and although they feed the scroungers, the communication between the individual's during foraging is considerably low, which results in poor global search ability.This could be overcome by integrating the perching characteristics of the falcon, because the falcon possesses the characteristics of identifying the prey by perching.The perching of the falcon takes place in two ways relying upon the presence of the family members of the falcons and the position of the prey.This reduces the prey's search duration, whereas perching helps the individual finches retain energy.These actions can be quantitatively expressed as follows: Case 1:(T < P alarm )&& p ≥ 0.5 .When the safety threshold is met and the finches are in safer position and the position of the falcon is near to the family members then the perching will takes place based on the below equation, Case 2: (T < P alarm )&& p < 0.5 .
When the safety threshold is not met and the finches are surrounded by predator along with that position of the falcon is near to the food then the perching will take place based on the below equation, where the safety will also be maintained and at the same time the food.
where, Y perch designates the perching behavior, Y fal denotes the position of the falcon during the iteration k , n 1 , n 2 , n 3 , n 4 designates the random number in the range (0, 1) .The position of the falcon is denoted by Y fal and during the current iteration the position will be represented by Y curr (k) .p denotes the perching behavior of the individuals and it provides the information about whether the falcon is near to the prey or family members.
Terminating stage.After determining the optimal solution, the process will gets terminated.The algorithmic steps in the falcon finch optimization is enumerated in algorithm 1 and schematically shown in Fig. 4.

Experimentation, results and analysis
The sections that follow provide a thorough explanation of the findings made possible by the modified falcon finch deep CNN for skin cancer diagnosis.

Experimental setup
The accuracy, sensitivity, and specificity of the study are measured to demonstrate the model's efficacy.The research is conducted using the PYTHON software on a Windows 10 computer with 8 GB of RAM.The hyperparameters of the network involve the batch size of 32, epochs of 100, default optimizer is adam, the loss is mse, and activation functions are relu and softmax.6c the performance analysis is tabulated in Table 3.   53 .

Comparative analysis concerning k-fold
Figure 7a shows the comparative performance in terms of metrics accuracy; during the k-fold 8 it outperformed SSA deep CNN by 7.16%.Figure 7b interprets the relative performance in terms of metrics sensitivity, and throughout the k-fold 8 it improves by 6.42% in comparison to HHO deep CNN.
Figure 7c enumerates the relative performance in terms of metrics sensitivity.During the k-fold 8 comparison with deep CNN, an improvement of 14.954% is made by the modified falcon finch deep CNN classifier.The values obtained are interpreted in Table 4.

Comparative analysis concerning training percentage
Figure 8a shows the comparative performance in terms of metrics accuracy, and at training percentage 80, it improves by 19.05% when compared to SSA deep CNN.
As compared to HHO deep CNN during the k-fold 8, Fig. 8b shows the comparative performance in terms of metrics sensitivity, and an improvement of 4.91% is made by the modified falcon finch deep CNN classifier.
Figure 8c shows the performance comparison in terms of metrics sensitivity, and during the eighth k-fold, a 22.65% improvement over deep CNN is made modified falcon finch deep CNN classifier.The values obtained are interpreted in Table 5.

Analysis and discussion
A certain section compares and contrasts the deep CNN classifier for the modified falcon finch.The various state of art methods used for the skin cancer detection are interpreted with their metrics values and the values shows that the modified falcon finch deep CNN classifier is more efficient compared to the existing works.The improvement achieved is due to the enabled falcon finch optimization, where the falcon's perching behavior is www.nature.com/scientificreports/used to improve the foraging abilities of the finches.By improving the finches' inefficient communication and energy use, which has a tendency to fall to local optimum, the communicative behavior of the falcons, which aids in the discovery of reliable optimal solutions.The comparative discussion of the falcon finch deep CNN is interpreted in Table 6.

Conclusion and future scope
The skin cancer detection using the modified falcon finch deep CNN is performed in this research.These techniques are primarily appropriate for real-time medical applications, particularly in dermatology.A modified falcon finch deep CNN, which diagnoses the disease more effectively, is used in this study.With the modified falcon finch deep CNN classifier, it was possible to analyze the data pertinent to skin cancer while minimizing errors.The inclusion of the falcon finch optimization in the deep CNN classifier was significant because it provided the foraging and perching traits necessary for efficient parameter tuning.With this adjustment, the classifier can identify skin cancer in a shorter duration with more robust and improved convergence.By comparing the evaluation metrics, it can be seen that the research is more effective than previous studies in that the modified falcon finch deep CNN classifier achieved accuracy, sensitivity, and specificity values of 93.59%, 92.14%, and 95.22% for k-fold and 96.52%, 96.69%, and 96.54% for training percentage.However, the visual examination is complicated as the benign and malignant resemble the same in appearance for similar categories of lesions due to the complex structure that increases the complexity of the analysis.Scalability issues arise with larger datasets which consumes more hardware requirements for the implementation of the model that should be minimized in the future.In future the skin cancer detection and classification will be performed with hybrid classifiers.The non-melanoma skin cancer and melanoma cancer can be classified by further researchers in order to provide a comprehensive work relevant to skin cancer disease.
Utilizing the instructive characteristics either from images, the improved falcon finch deep CNN classifier efficiently diagnoses the existence of melanoma.By adjusting the hyper parameters of the deep CNN classifier using the falcon finch optimization algorithm, the efficiency is further increased.Feature extraction: The Resnet 101 and the statistical features helps in reducing the issues of over fitting.

Figure 1 .
Figure 1.Framework for skin cancer detection.
All the pictures are resized to low resolution (224 × 224 × 3) RGB.The users can access the data from the base station whenever needed with proper access.The input data used in this research is mathematically formulated as follows, https://doi.org/10.1038/s41598-024-60954-2www.nature.com/scientificreports/here, S designates the skin cancer detection dataset and the number of images in the dataset is depicted by m.

Figure 2 .
Figure 2. Skin cancer prediction model using modified falcon finch deep CNN classifier.

Figure 3 .
Figure 3. Architecture of falcon finch deep CNN classifier.

Table 1 .
Literature review of existing methods.

Table 2 .
Parameters of modified falcon finch deep CNN classifier.

Table 3 .
Performance analysis of proposed method using k-fold and Training percentage.
the sensitivity of the falcon finch deep CNN obtained the values of 92.58%, 94.03%, 94.27%, 95.77%, 96.69% during the k-fold 8 shown in Fig.6b.At last, the sensitivity is measured and the falcon finch deep CNN achieved the values of 77.12%, 82.45%, 83.10%, 95.45%, 96.54% for k-fold 8 and is interpreted in Fig.

Table 5 .
Comparative analysis concerning training percentage.